package com.qqt.csr.archive.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qqt.csr.archive.entity.reader.SysUser;
import com.qqt.csr.archive.mapper.SysUserMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.io.Serializable;

/**
 * @Author: yang hao
 * @Date: 2024/11/20 15:05
 * @Description: 系统用户 服务
 **/
@Slf4j
@Service
public class SysUserService extends ServiceImpl<SysUserMapper, SysUser> {

    /**
     * 根据主键查询系统用户
     * @param id {@link Serializable} 主键
     * @return {@link SysUser} 系统用户
     */
    public SysUser getById(Serializable id) {
        return baseMapper.getById(id);
    }

}
